<template>
	<view>
		<page-index-keep :user-info="userInfo" :showLeftClick="true" :selectKeepData="selectKeepData"></page-index-keep>
	</view>
</template>

<script>
	let vk = uni.vk;
	export default {
		data() {
			return {
				main: vk.getVuex('$app.color.main'),
				secondary: vk.getVuex('$app.color.secondary'),
				buttonColor: "linear-gradient(to right, " + vk.getVuex('$app.color.main') + "," + vk.getVuex('$app.color.secondary')+ ")",
				backgroundStyle: {
					color: "#FFF"
				},
				userInfo: vk.getVuex("$user.userInfo"),
				selectKeepData: vk.getVuex("$accountKeepData.selectKeepData"),
			};
		},
		onLoad(options) {
			vk = uni.vk;
			this.init(options);
		},
		methods: {
			// 页面数据初始化函数
			init(options) {
				this.main = vk.getVuex('$app.color.main');
				this.secondary = vk.getVuex('$app.color.secondary');
			},
		}
	};
</script>

<style lang="scss" scoped>

</style>